package trism.game.model.common.stat.slots {
	import trism.game.model.common.stat.cells.PosItem;
	/**
	 * @author Samoiloff  http://samoiloff.com/
	 */
	public class SlotItem {
		
		private var _type		: int;
		private var _pos		: PosItem;
		
		public function SlotItem() {
			_pos = new PosItem();
		}
		
		public function set type(type : int) : void {
			_type = type;
		}
		
		public function update(x : int, y : int) : void {
			_pos.update(x, y);
		}
		
		public function get type() : int{
			return _type;
		}
		
		public function get x() : int {
			return _pos.x;
		}
		
		public function get y() : int {
			return _pos.y;
		}
		
	}
}
